package site.yunnong.atvris.portal.service;

import site.yunnong.atvris.service.vo.PartitionVO;
import site.yunnong.atvris.service.vo.PartitionWithChildrenItemVO;

import java.util.List;

/**
 * @author zjh
 * @date 2021/8/21 12:04
 */
public interface PartitionService {
    List<PartitionVO> queryByParentId(Long parentId);

    List<PartitionWithChildrenItemVO> listWithChildren();

    List<PartitionVO> firstLevelPartition();

    /**
     * 查询所有分区信息
     * @return
     */
    List<PartitionVO> queryAll();
}
